#define XCHRS_BLINKING_SEGS (-(-XCHRS>>5))
#define XCHRS_BLINKING      (4 * XCHRS_BLINKING_SEGS)

#define BFLAG_BLINKING	0x01
#define BFLAG_UNDERSC	0x02
#define BFLAG_LVERTICAL	0x04
#define BFLAG_RVERTICAL	0x08
#define BFLAG_OVERLINE	0x10
#define BFLAG_BLOCKIC	0x20

#define BFLAG_BOXDRAW	0x02

extern BLINK_FLAGS_TYPE *sdl_blinking_flags_0, *sdl_blinking_flags_1, *sdl_blinking_flags_curr; // *luacon_curr_pattern_0;

extern int luacon_blinking_period[2];

int luacon_scrn_set_blink_a(lua_State * L);
int luacon_scrn_set_blink_dec(lua_State * L);
int luacon_scrn_clear_blink(lua_State * L);
// int luacon_scrn_set_patt_a(lua_State * L);
// int luacon_scrn_clear_patt(lua_State * L);